import { request } from "../utils/request";


// 列表请求
export function getList() {
	return request.get('/api/list')
}

// 登录请求
export interface LoginDataState {
	username: string
	password: string
}
export function login(data: LoginDataState) {
	return request.post('/api/login', data)
}